<!DOCTYPE html>
<html style="font-size: 100px">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="format-dection" content="telephone=no"/>
    <title>library</title>
  </head>
  <script type="text/javascript">
    let deviceWidth;
    setHtmlFontSize();
    if (window.addEventListener) {
      window.addEventListener('resize', function () {
        setHtmlFontSize()
      }, false)
    }
    function setHtmlFontSize() {
      // 1366是设计稿的宽度，当大于1366时采用1366宽度，比例也是除以13.66
      deviceWidth = document.documentElement.clientWidth > 1366 ? 1366 : document.documentElement.clientWidth;
      document.getElementsByTagName('html')[0].style.cssText = 'font-size:' + deviceWidth / 13.66 + 'px !important';
    }
  </script>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
